-- GENERATED SPELL FOR [Fireguard] --


function spell0_8909(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(15242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8909', 3000, 1)
end

function Sorts_8909(pUnit, Event)
local choix_sorts_8909 = math.random(0, 0)
if choix_sorts_8909 == 0 then
pUnit:RegisterEvent('spell0_8909', 1, 1)
end
end

function mob8909_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8909', math.random(1500, 3000), 1)
end

function mob8909_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8909_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8909_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8909, 1, 'mob8909_Action')
RegisterUnitEvent(8909, 2, 'mob8909_Leave')
RegisterUnitEvent(8909, 3, 'mob8909_Kill')
RegisterUnitEvent(8909, 4, 'mob8909_Die')
